$OpenBSD: patch-src_celestia_celestiacore_cpp,v 1.5 2011/07/09 01:41:13 ajacoutot Exp $
--- src/celestia/celestiacore.cpp.orig	Sun Jun  5 18:11:13 2011
+++ src/celestia/celestiacore.cpp	Sat Jul  9 03:23:48 2011
@@ -4103,7 +4103,7 @@ bool CelestiaCore::initSimulation(const string* config
     }
     else
     {
-        config = ReadCelestiaConfig("celestia.cfg");
+        config = ReadCelestiaConfig("${SYSCONFDIR}/celestia.cfg");
 
         string localConfigFile = WordExp("~/.celestia.cfg");
         if (localConfigFile != "")
